#ifndef _BULLET_H
#define _BULLET_H

#include "GameObj.h"
#define MAXVY 10
#define TIMELIFE 1.5f
class Bullet: public GameObject
{
private:
	float _timeToLive;
	float _timeToExplosive;
	float _timeDraw;
public:
	Bullet(D3DXVECTOR2 pos);
	~Bullet();

	virtual void Update(float);
	virtual void Draw();
	virtual void UpdateCollision(list<GameObject*> , float);
	void Boom();	
};
#endif